package com.ict.web.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 查看专家是否是接受任务详情
 *
 * @author ruoyi
 * @date 2022-02-16
 */
@Data
public class ExpertIsReceiveReviewTaskDetailVo {
    @ApiModelProperty(value = "评审任务Id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(type = IdType.ASSIGN_ID)
    private Long reviewTaskId;

    /**任务名称*/
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /**评审开始时间*/
    @ApiModelProperty(value = "评审开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeStart;

    /**评审结束时间*/
    @ApiModelProperty(value = "评审结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeEnd;

    /**评审地点*/
    @ApiModelProperty(value = "评审地点")
    private String reviewAddress;

    /** 接受状态{0:待接受 1：已接受 2：已拒绝3:申请取消} */
    @ApiModelProperty(value = "接受状态{0:待接受 1：已接受 2：已拒绝3:申请取消}")
    private String receiveStatus;

    /** 拒绝任务原因 */
    @ApiModelProperty(value = "拒绝任务原因")
    private String refuseReason;

    /** 处理时间 */
    @ApiModelProperty(value = "处理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime dealTime;

    /** 节点 */
    @ApiModelProperty(value = "节点")
    private String node;
}
